// @import './variables.scss';
@import './variables-self.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 0 20px;
}
// reset app-main/navbar css
.app-main {
  background: #f6f7fb;
}

// title
.main-title {
  padding: 16px 20px;
  color: #333;
  font-size: 16px;
  width: 100%;
  border-bottom: 1px solid #ebeef5;
}
// 分页样式
.page-main {
  padding: 20px 20px;
  text-align: right;
}

// 全局距离
.mt-20 {
  margin-top: 20px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mr-6 {
  margin-right: 6px;
}

// reset btn
.self-btn {
  color: #606266;
}
.self-btn.delete-btn {
  &:hover {
    color: #fe5742;
  }
  &:active {
    color: #fe5742;
  }
  &:focus {
    color: #fe5742;
  }
}
.self-btn.normal-btn {
  &:hover {
    color: #1eb955;
  }
}

// reset el-body
.app-container {
  .el-card__body {
    padding: 0;
  }
}

// reset menu-active
// .router-link-active {
//   .el-menu-item {
//     background-color: #0f0 !important;
//   }
// }